home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 116
/
FreelogNo116-JuilletSeptembre2013.iso
/
Bureautique
/
TreeDBNotes Free
/
setup_treedbnotes_4_34_1.exe
/
$APPDATA
/
TreeDBNotes 4
/
Syntax
/
VBScript.xml
< prev
next >
Wrap
Extensible Markup Language
|
2011-09-07
|
10KB
|
282 lines
<?xml version='1.0' encoding='ISO-8859-1' ?>
<XML>
<Engine>
<Author>SoftArtStudio</Author>
<URL>http://www.mytreedb.com</URL>
<Version>1.0</Version>
</Engine>
<General>
<Name>VBScript</Name>
<Version>1.00</Version>
<Files>vs</Files>
<Delimeters><![CDATA[ :;[]{}-+=()!@#$%^'",.<>?/|\]]></Delimeters>
<Case>Yes</Case>
<ColorBackground>$00F4F7F7</ColorBackground>
<ColorBorder>clSilver</ColorBorder>
</General>
<Author>
<Copyright>http://www.mytreedb.com</Copyright>
<Email/>
<Name>http://www.mytreedb.com</Name>
<URL>http://www.mytreedb.com</URL>
<Notes/>
</Author>
<Styles>
<font>
<Title>Normal text</Title>
<Name>Courier New</Name>
<ColorFont>clWindowText</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>No</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Keywords</Title>
<Name>Courier New</Name>
<ColorFont>clGreen</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>Yes</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Terms</Title>
<Name>Courier New</Name>
<ColorFont>clBlue</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>Yes</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Functions</Title>
<Name>Courier New</Name>
<ColorFont>clBlue</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>No</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Numbers</Title>
<Name>Courier New</Name>
<ColorFont>clRed</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>Yes</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Comments</Title>
<Name>Courier New</Name>
<ColorFont>$0000A9FB</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>Yes</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Operators</Title>
<Name>Courier New</Name>
<ColorFont>clGreen</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>No</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>String</Title>
<Name>Courier New</Name>
<ColorFont>clRed</ColorFont>
<ColorBack>clNone</ColorBack>
<Size>10</Size>
<Bold>Yes</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
<font>
<Title>Marker</Title>
<Name>Courier New</Name>
<ColorFont>clWindowText</ColorFont>
<ColorBack>clYellow</ColorBack>
<Size>10</Size>
<Bold>No</Bold>
<Italic>No</Italic>
<Underline>No</Underline>
<Strikeout>No</Strikeout>
</font>
</Styles>
<Keywords>
<lib>
<Title>Keywords</Title>
<Style>2</Style>
<List>And|As|Call|Case|Class|Const|Dim|Do|Each|Else|ElseIf|Empty|End|Eqv|Erase|Error|Execute|Exit|Explicit|For|Function|Get|Goto|If|Imp|Is|Let|Loop|Mod|Next|New|Not|Nothing|Null|On|Option|Or|Private|Property|Public|Randomize|ReDim|Rem|Resume|Select|Set|Stop|Sub|Then|To|Until|Wend|While|With|||</List>
</lib>
<lib>
<Title>Operators</Title>
<Style>6</Style>
<List><![CDATA[+|-|=|//|/|%|&|>|<|^|!|*|^||||]]></List>
</lib>
<lib>
<Title>Functions</Title>
<Style>3</Style>
<List>Abs|Array|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Cos|CSng|CStr|Date|DateAddFunction|DateDiff|DatePart|DateSerial|DateValue|Day|Eval|Exp|Filter|Fix|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Join|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Replace|RGB|Right|Rnd|Round|RTrim|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|Trim|TypeName|UBound|UCase|VarType|Weekday|WeekdayName|Year|||</List>
</lib>
<lib>
<Title>Properties</Title>
<Style>6</Style>
<List>AccountDisabled|AccountExpirationDate|Application|Arguments|AtEndOfLine|AtEndOfStream|Attributes|AutoUnlockInterval|AvailableSpace|BadPasswordAttempts|Column|CompareMode|ComputerName|Count|DateCreated|DateLastAccessed|DateLastModified|Description|Drive|DriveLetter|DriveType|Drives|Environment|FileSystem|Files|FirstIndex|FreeSpace|FullName|Global|HelpContext|HelpFile|HomeDirDrive|HomeDirectory|HotKey|IconLocation|IgnoreCase|Interactive|IsAccountLocked|IsReady|IsRootFolder|Item|Key|LastLogin|LastLogoff|Length|Line|LockoutObservationInterval|LoginHours|LoginScript|LoginWorkstations|MaxBadPasswordsAllowed|MaxLogins|MaxPasswordAge|MaxStorage|MinPasswordAge|MinPasswordLength|Name|Number|ObjectSid|Parameters|ParentFolder|PasswordAge|PasswordExpirationDate|PasswordExpired|PasswordHistoryLength|Path|Pattern|PrimaryGroupID|Profile|Remove|RootFolder|ScriptFullName|ScriptName|SerialNumber|ShareName|ShortName|ShortPath|Size|Source|SpecialFolders|Subfolders|TargetPath|TotalSize|Type|UserDomain|UserFlags|UserName|Value|Version|VolumeName|WindowStyle|WorkingDirectory||||</List>
</lib>
<lib>
<Title>Methods</Title>
<Style>6</Style>
<List>Add|AddPrinterConnection|AddWindowsPrinterConnection|AppActivate|BuildPath|Clear|Close|ConnectObject|Copy|CopyFile|CopyFolder|CreateFolder|CreateObject|CreateShortcut|CreateTextFile|Delete|DeleteFile|DeleteFolder|DisconnectObject|DriveExists|Echo|EnumNetworkDrives|EnumPrinterConnections|Exists|ExpandEnvironmentStrings|FileExists|FolderExists|GetAbsolutePathName|GetBaseName|GetDrive|GetDriveName|GetExtensionName|GetFile|GetFileName|GetFolder|GetParentFolderName|GetResource|GetSpecialFolder|GetTempName|Items|Keys|LogEvent|MapNetworkDrive|Move|MoveFile|MoveFolder|OpenAsTextStream|OpenTextFile|Popup|Put|Quit|Raise|Read|ReadAll|ReadLine|RegDelete|RegRead|RegWrite|RemoveAll|RemoveNetworkDrive|RemovePrinterConnection|Replace|Run|Save|SendKeys|SetDefaultPrinter|Skip|SkipLine|Sleep|SetInfo|Test|Write|WriteBlankLines|WriteLine||</List>
</lib>
<lib>
<Title>Objects</Title>
<Style>6</Style>
<List>Dictionary|Err|File|FileSystemObject|Folder|Match|RegExp|TextStream|Wscript|WshNetwork|WshShell||</List>
</lib>
<lib>
<Title>Constants</Title>
<Style>1</Style>
<List>False|FALSE|True|TRUE|vbAbort|vbAbortRetryIgnore|vbApplicationModal|vbArray|vbBinaryCompare|vbBlack|vbBlue|vbBoolean|vbByte|vbCancel|vbCr|vbCritical|vbCrLf|vbCurrency|vbCyan|vbDataObject|vbDate|vbDecimal|vbDefaultButton1|vbDefaultButton2|vbDefaultButton3|vbDefaultButton4|vbDouble|vbEmpty|vbError|vbExclamation|vbFirstFourDays|vbFirstFullWeek|vbFirstJan1|vbFormFeed|vbFriday|vbGeneralDate|vbGreen|vbIgnore|vbInformation|vbInteger|vbLf|vbLong|vbLongDate|vbLongTime|vbMagenta|vbMonday|vbNewLine|vbNo|vbNull|vbNullChar|vbNullString|vbObject|vbObjectError|vbOK|vbOKCancel|vbOKOnly|vbQuestion|vbRed|vbRetry|vbRetryCancel|vbSaturday|vbShortDate|vbShortTime|vbSingle|vbString|vbSunday|vbSystemModal|vbTab|vbTextCompare|vbThursday|vbTuesday|vbUseSystem|vbUseSystemDayOfWeek|vbVariant|vbVerticalTab|vbWednesday|vbWhite|vbYellow|vbYes|vbYesNo|vbYesNoCancel||</List>
</lib>
</Keywords>
<Rules>
<Rule>
<Name>String</Name>
<Starter>"</Starter>
<Ender>"</Ender>
<Style>7</Style>
<CloseOnDelimeter>No</CloseOnDelimeter>
<CloseOnEndLine>No</CloseOnEndLine>
<Force>Yes</Force>
</Rule>
<Rule>
<Name>Remarks</Name>
<Starter>'</Starter>
<Ender/>
<Style>5</Style>
<CloseOnDelimeter>No</CloseOnDelimeter>
<CloseOnEndLine>Yes</CloseOnEndLine>
<Force>Yes</Force>
</Rule>
<Rule>
<Name>Marker</Name>
<Starter><![CDATA[<script]]></Starter>
<Ender><![CDATA[>]]></Ender>
<Style>8</Style>
<CloseOnDelimeter>No</CloseOnDelimeter>
<CloseOnEndLine>No</CloseOnEndLine>
<Force>Yes</Force>
</Rule>
<Rule>
<Name>Marker2</Name>
<Starter><![CDATA[</script>]]></Starter>
<Ender/>
<Style>8</Style>
<CloseOnDelimeter>Yes</CloseOnDelimeter>
<CloseOnEndLine>Yes</CloseOnEndLine>
<Force>No</Force>
</Rule>
</Rules>
<Numbers>
<Style>4</Style>
</Numbers>
<Example>
<i><![CDATA[<script type="text/vbscript">]]></i>
<i>' Dim, Private, Public, ReDim, or Static statements.</i>
<i>Function greeting()</i>
<i>i=hour(time)</i>
<i><![CDATA[If i < 10 Then]]></i>
<i> document.write("Good morning!")</i>
<i>Else</i>
<i> document.write("Have a nice day!")</i>
<i>End If</i>
<i>End Function</i>
<i/>
<i><![CDATA[Do While i < 10]]></i>
<i><![CDATA[ document.write(i & "<br />")]]></i>
<i> i=i+1</i>
<i>Loop</i>
<i><![CDATA[</script>]]></i>
</Example>
</XML>